package com.ruoyi.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章管理对象 my_article
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public class MyArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章id */
    private String uid;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String articleTitle;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 封面/分享图标 */
    @Excel(name = "封面/分享图标")
    private String titleUrl;

    /** 用户 */
    private String user;

    /** 用户姓名 */
    private String userName;

    /** 返回跳转链接 */
    private String returnUrl;

    /** 背景音乐链接 */
    private String backedMusic;

    /** 直跳 */
    private String goUrl;

    /** 顶部广告图片 */
    private String topImg;

    /** 顶部广告链接 */
    private String topUrl;

    /** 底部广告图片 */
    private String bottomImg;

    /** 底部广告链接 */
    private String bottomUrl;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String status;

    /** 访问量 */
    @Excel(name = "访问量")
    private Long seeNum;

    /** 文章内容 */
    private String richText;

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }
    public String getUser() 
    {
        return user;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    public String getUserName()
    {
        return userName;
    }
    public void setTitleUrl(String titleUrl) 
    {
        this.titleUrl = titleUrl;
    }

    public String getTitleUrl() 
    {
        return titleUrl;
    }
    public void setReturnUrl(String returnUrl) 
    {
        this.returnUrl = returnUrl;
    }

    public String getReturnUrl() 
    {
        return returnUrl;
    }
    public void setBackedMusic(String backedMusic) 
    {
        this.backedMusic = backedMusic;
    }

    public String getBackedMusic() 
    {
        return backedMusic;
    }
    public void setGoUrl(String goUrl) 
    {
        this.goUrl = goUrl;
    }

    public String getGoUrl() 
    {
        return goUrl;
    }
    public void setTopImg(String topImg) 
    {
        this.topImg = topImg;
    }

    public String getTopImg() 
    {
        return topImg;
    }
    public void setTopUrl(String topUrl) 
    {
        this.topUrl = topUrl;
    }

    public String getTopUrl() 
    {
        return topUrl;
    }
    public void setBottomImg(String bottomImg) 
    {
        this.bottomImg = bottomImg;
    }

    public String getBottomImg() 
    {
        return bottomImg;
    }
    public void setBottomUrl(String bottomUrl) 
    {
        this.bottomUrl = bottomUrl;
    }

    public String getBottomUrl() 
    {
        return bottomUrl;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSeeNum(Long seeNum) 
    {
        this.seeNum = seeNum;
    }

    public Long getSeeNum() 
    {
        return seeNum;
    }
    public void setRichText(String richText) 
    {
        this.richText = richText;
    }

    public String getRichText() 
    {
        return richText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uid", getUid())
            .append("articleTitle", getArticleTitle())
            .append("sort", getSort())
            .append("user", getUser())
            .append("userName", getUserName())
            .append("titleUrl", getTitleUrl())
            .append("returnUrl", getReturnUrl())
            .append("backedMusic", getBackedMusic())
            .append("goUrl", getGoUrl())
            .append("topImg", getTopImg())
            .append("topUrl", getTopUrl())
            .append("bottomImg", getBottomImg())
            .append("bottomUrl", getBottomUrl())
            .append("status", getStatus())
            .append("seeNum", getSeeNum())
            .append("richText", getRichText())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
